
#pragma once

class SQLite3Helper {
public:
	static bool init();
	static void release();

	static const char* get(const char* key);
	static void set(const char* key, const char* value);

	static int getInt(const char* key);
	static void setInt(const char* key, int value);

	static const char* getBlob(const char *key, int& n);
	static void setBlob(const char *key, const char *value, int n);

	static void remove(const char* key);

private:
	static void createDataTable();

};